<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>首页</title>
</head>
<body >
<h1>首页</h1>
姓名：[[${name}]] - <span th:text="${name}" >张三</span>

</body>
</html>